package birdsong.filter;

import birdsong.comm.ServerSideMessage;

public class ServerSideMessageConcrete implements ServerSideMessage {
	private Type _type;
	private String _payload;
	private String _nickname;
	
	public ServerSideMessageConcrete(Type type, String nickname, String payload){
		_type = type;
		_payload = payload;
		_nickname = nickname;
	}
	
	@Override
	public Type getType() {
		return _type;
	}

	@Override
	public String getPayload() {
		return _payload;
	}

	@Override
	public String getClientNickname() {
		return _nickname;
	}

}
